package com.ruoyi.web.controller.demo.domain;

import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

import javax.validation.constraints.Email;
import javax.validation.constraints.NotBlank;
import javax.validation.constraints.Size;

public class DeptOperateModel extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /** 部门ID */
    @Excel(name = "序号")
    private Long deptId;
    /** 部门名称 */
    @Excel(name = "部门名称")
    private String deptName;

    /** 上级部门名称 */
    @Excel(name = "上级部门名称")
    private String supDeptName;

    /** 用于标识是否是单位 */
    @Excel(name = "部门性质", readConverterExp = "0=单位,1=部门")
    private Integer busiFlag;

    /** 用于标识是否是单位 */
    @Excel(name = "部门级别")
    private Integer deptLevel;

    public DeptOperateModel()
    {

    }

    public void setSupDeptName(String supDeptName) {
        this.supDeptName = supDeptName;
    }

    public DeptOperateModel(Long deptId, String deptName, String supDeptName, Integer busiFlag, Integer deptLevel) {
        this.deptId = deptId;
        this.deptName = deptName;
        this.supDeptName = supDeptName;
        this.busiFlag = busiFlag;
        this.deptLevel = deptLevel;
    }

    public String getSupDeptName() {
        return supDeptName;
    }

    public Integer getBusiFlag() {
        return busiFlag;
    }

    public void setBusiFlag(Integer busiFlag) {
        this.busiFlag = busiFlag;
    }

    public Integer getDeptLevel() {
        return deptLevel;
    }

    public void setDeptLevel(Integer deptLevel) {
        this.deptLevel = deptLevel;
    }

    public void setDeptId(Long deptId) {
        this.deptId = deptId;
    }

    public void setDeptName(String deptName) {
        this.deptName = deptName;
    }

    public Long getDeptId() {
        return deptId;
    }

    public String getDeptName() {
        return deptName;
    }



}
